<template name="msgItem">
  <view class="centerText">
    <text> {{index}}: {{msg}} </text>
    <text> Time: {{time}} </text>
  </view>
</template>